import React from 'react'
import { BrowserRouter as Router, Route,Routes } from 'react-router-dom'
import Index from './views/index/Index'
import Add from './views/add/Add'
export default function App() {
  return (
    <div>
      <Routes>
        <Route path='/' element={<Index></Index>} exact></Route>
        <Route path='/add' element={<Add></Add>}></Route>
      </Routes>
    </div>
  )
}
